package com.wish.group05.finance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.pagehelper.PageInfo;
import com.wish.group05.base.entity.CwReceiptPlan;
import com.wish.group05.base.entity.MTenant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class ReceiptPlanVo {

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dealDate;

    private BigDecimal sumTotal;

    /**
     * 租客集合
     */
    private List<MTenant> mTenantList;

    /**
     * 收款计划集合
     */
    private PageInfo<CwReceiptPlan> pg;
}
